package service;


import spring.framework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @author pengzh
 * @desc
 * @class UserDao
 * @since 2021-12-03
 */
@Component
public class UserDao {

    private static Map<String, String> hashMap = new HashMap<>();

    static {
        hashMap.put("10001", "切切切，广州，为否");
        hashMap.put("10002", "嗯嗯嗯，水发，玩儿");
        hashMap.put("10003", "发发发，贰分，为否");
    }

    public String queryUserName(String uId) {
        return hashMap.get(uId);
    }

}
